package com.ruoyi.project.port.service;

import com.ruoyi.project.in.stockindetail.domain.StockinDetail;
import com.ruoyi.project.out.outStockDetail.domain.OutStockoutDetail;
import com.ruoyi.project.port.domain.*;

public interface PortService {

    public Result insertProduct(StockinDetail stockinDetail);

    public Result insertCustomer(OutStockoutDetail outStockoutDetail);

    public Result insertSupplier(StockinDetail stockinDetail);

    public Result insertInOrder(InOrderMsg inOrderMsg);

    public Result insertOutOrder(OutOrderMsg outOrderMsg);

    public Result insertDepositInOrder(DepositOrderMsg depositOrderMsg);
    public Result insertDepositOutOrder(DepositOrderMsg depositOrderMsg);


    /**
     * 库存查询接口
     * @param inventoryRequest
     * @return
     */
    public InventoryRespond getInventoryInfo(InventoryRequest inventoryRequest);

    public void backtoInOrder();

    public void backtOutOrder();

    //public void checkLotNo();

    public Result getProductMap(ProductMapMsg productMapMsg);


}
